package com.atguigu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class TestViewController {

    @RequestMapping("/testView/thymeleafView")
    public ModelAndView testThymeleafView(){
        ModelAndView modelAndView = new ModelAndView();


        modelAndView.setViewName("success");
        return modelAndView;


    }
}
